<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/warehouse/outreceipt_unback_edit.js"></script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/outreceipt_unback/outreceipt_unback_editEntity.shtml">
		<input type="hidden" class="form-control checkacc"
			value="${tInfo.id}" name="transportTransporinfoFormMap.id" id="id"/>
		<section class="panel panel-default">
		<div class="panel-body">
			<div class="form-group">
				<label class="col-sm-3 control-label">送货日期</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.tranDate}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">出仓单号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.outReceiptNo}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">放行条单号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.permitNo}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">客户编号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.cid}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">客户名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.cname}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">车牌号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" readonly
						value="${tInfo.licenseNo}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">未回单原因</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" name="transportTransporinfoFormMap.noReturnReason"
						value="${tInfo.noReturnReason}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">处理结果</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" name="transportTransporinfoFormMap.handleResult"
						value="${tInfo.handleResult}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<!-- 开始打印出仓单 -->
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="panel panel-default">
				<div class="panel-body">
					<table class="table table-bordered">
						<thead>
							<tr>
								<th style="text-align: center;width:176px;">物料编码</th>
								<th style="text-align: center;width:176px;">产品名称</th>
								<th style="text-align: center;width:176px;">出货数量</th>
							</tr>
						</thead>
						<tbody id="tbl">
							<c:forEach var="r" items="${receipt }">
								<tr>
									<td>
										<div class="input-group">
											<input type="text" class="form-control" readonly
												name="material_code_1" value="${r.material_code}">
										</div>
									</td>
									<td>
										<div class="input-group">
											<input type="text" class="form-control" readonly
												name="productName_1" value="${r.productName}">
										</div>
									</td>
									<td>
										<div class="input-group">
											<input type="text" class="form-control" readonly
												name="outNumber_1" value="${r.outNumber}">
										</div>
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<footer class="panel-footer text-right bg-light lter">
		<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> </section>
	</form>
</body>
</html>